From: Vadim Girlin Date: Fri, 11 Mar 2011 15:42:20 +0000 (-0500) Subject: Alt-F2: Avoid running programs multiple times X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8553 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=33125e78c876be2672f044da159f1011ecab66f8;p=gnome-shell.git Alt-F2: Avoid running programs multiple times Returning true from the event handler seems to avoid getting duplicate return events; these duplicate events likely are getting generated by IBus. https://bugzilla.gnome.org/show_bug.cgi?id=644509 --- diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js index f239ec821..fdf6c4ed8 100644 --- a/js/ui/runDialog.js +++ b/js/ui/runDialog.js @@ -251,6 +251,7 @@ __proto__: ModalDialog.ModalDialog.prototype, if (!this.pushModal()) this.close(); } + return true; } if (symbol == Clutter.Escape) { this.close();